
from django.urls import path
from user.views import *

from rest_framework.routers import DefaultRouter

router = DefaultRouter()
router.register('users', UserView)

urlpatterns = [
    # 登录
    path('login/', Login.as_view()),
]

urlpatterns += router.urls